Skip to content

fix: update position and rotation offsets for MST22D18G2_125 and TYPE_C_31_M_12 components#272

Open
rushabhcodes wants to merge 1 commit into
tscircuit:mainfrom
rushabhcodes:usb-position
Open

fix: update position and rotation offsets for MST22D18G2_125 and TYPE_C_31_M_12 components#272
rushabhcodes wants to merge 1 commit into
tscircuit:mainfrom
rushabhcodes:usb-position

Conversation

@rushabhcodes

Copy link
Copy Markdown
Contributor

This pull request makes small adjustments to the 3D CAD model positioning and rotation for two board components to improve their alignment in the rendered view.

  • CAD Model Alignment Adjustments:
    • In MST22D18G2_125.tsx, updated the positionOffset for the MST22D18G2_125 component to shift it slightly along the z-axis for better placement.
    • In TYPE_C_31_M_12.tsx, adjusted both the rotationOffset (rotating 180 degrees on the z-axis) and the positionOffset (shifting 2.5 units along the y-axis) for the TYPE_C_31_M_12 component to correct its orientation and position.

Copilot AI review requested due to automatic review settings March 12, 2026 18:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines 3D CAD model alignment for two components on the SparkFun USB-to-Serial Breakout (FT232RL) board so the rendered 3D view matches the intended placement/orientation.

Changes:

  • Adjust TYPE_C_31_M_12 CAD model rotation (Z +180°) and translate along Y (+2.5).
  • Adjust MST22D18G2_125 CAD model translate along Z (+0.85).
  • Update/add the 3D render snapshot PNG for the board.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
boards/SparkFun-USB-to-Serial-Breakout-FT232RL/TYPE_C_31_M_12.tsx Updates CAD model rotationOffset and positionOffset to correct USB-C connector orientation/placement.
boards/SparkFun-USB-to-Serial-Breakout-FT232RL/MST22D18G2_125.tsx Updates CAD model positionOffset z to improve switch placement in 3D render.
boards/SparkFun-USB-to-Serial-Breakout-FT232RL/snapshots/SparkFun-USB-to-Serial-Breakout-FT232RL.circuit-3d.snap.png Updates/adds the 3D snapshot to reflect the new CAD alignment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tscircuit tscircuit Bot requested a deployment to Preview March 12, 2026 18:28 Abandoned

@techmannih techmannih left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lg, can you add cad model for the switch

@rushabhcodes

Copy link
Copy Markdown
Contributor Author

Lg, can you add cad model for the switch

the model exist and it also renders in 3d view but does not showup in snapshot

@rushabhcodes rushabhcodes requested a review from techmannih March 12, 2026 22:10
@rushabhcodes

Copy link
Copy Markdown
Contributor Author

@techmannih can we get this merged

@techmannih

Copy link
Copy Markdown
Member

Get approval from abse and shibo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants